<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<script type="text/javascript">
var path = "<%=path%>";
</script>
<div class="header">
	<div id="toolbar">
		<c:choose>
			<c:when test="${sessionUserInfo!=null && sessionUserInfo.userId !=null}">
				<div class="bar-con">
					<div class="pull-right">
						<div class="login-show f12">
							<a href="javaScript:void(0)">${sessionUserInfo.userName}&#12288您好！</a>
							&#12288;|&#12288;
							<a href="<%=path%>/check/logout">退出</a>
							&#12288;|&#12288;
							<a href="<%=path%>/views/account/account_center.jsp">帐户中心</a>
							<pm:hasRole name="admin">
							&#12288;|&#12288;
							<a href="<%=path%>/views/admin/admin_center.jsp">管理中心</a>
							</pm:hasRole>
							&#12288;|&#12288;
							<a href="<%=path%>/check/activity/toInsert" class="f60" >我要发布羊毛</a>							
						</div>
					</div>
				</div>
			</c:when>
			<c:otherwise>
				<div class="bar-con">
					<div class="pull-right">
						<div class="login-show f12">
							<a href="<%=path%>/uncheck/login">登录</a>
							&#12288;|&#12288;
							<a href="<%=path%>/uncheck/register">免费注册</a>
						</div>
					</div>
				</div>
			</c:otherwise>
		</c:choose>
	</div>
	<div class="area">
		<a class="logo" href="<%=path%>/views/index.jsp"><img src="<%=path%>/images/logo.png"></a>
		<div class="logotxt"></div>
		<div class="mainNav">
			<ul class="nav">
				<li >
					<a href="<%=path%>/views/activity/activity_list.jsp">选活动</a>
				</li>
				<li>
					<a href="<%=path%>/check/activity/toInsert">发布活动</a>
				</li>
				<li>
					<a href="<%=path%>/views/dishonesty/dishonesty_list.jsp">平台拆解</a>
				</li>
				<li>
					<a href="<%=path%>/views/channel/channel_list.jsp">渠道商</a>
				</li>
				<li>
					<a href="<%=path%>/views/promotion/promotion_list.jsp">引流需求</a>
				</li>
				<li>
					<a href="<%=path%>/views/news/news_list.jsp">新闻</a>
				</li>
			</ul>
		</div>
	</div>
</div>